package com.lebang.service.sys;

import com.lebang.domain.TaskEarn;
import com.lebang.example.TaskEarnExample;
import com.lebang.service.BaseService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* 历史记录
* @Author hwq
* @Date 2020-06-09
*/
@Service
public class TaskEarnService extends BaseService<TaskEarn,Long, TaskEarnExample>{


    public List<TaskEarn>  selectAllList(){
        TaskEarnExample earnExample=new TaskEarnExample();
        earnExample.createCriteria().andEnableEqualTo(1);
        return this.selectByExample(earnExample);
    }
}
